﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="产品收发存统计.aspx.cs" Inherits="syc.Store.产品收发存统计" %>
<html>
<head>
</head>
<body>
<script type="text/javascript" language="javascript" src="/common.js"></script>

    <form id="form1" runat="server">
    <div id="wintop" class="wintop">产品收发存统计</div>
    <asp:Panel ID="Panel1" runat="server" GroupingText="统 计" CssClass="panel">

        产品类别：<asp:DropDownList ID="ChanPin" runat="server" Width="120px">
                    <asp:ListItem Value="0">全部产品</asp:ListItem>
                    <asp:ListItem Value="1">油管 Φ73.02×5.51</asp:ListItem>
                    <asp:ListItem Value="2">套管 Φ139.7×7.72</asp:ListItem>
                </asp:DropDownList> 
        生产单位：<asp:DropDownList ID="FenChang" runat="server" Width="120px">
                    <asp:ListItem Value="0">全部</asp:ListItem>
                    <asp:ListItem Value="1">一分厂</asp:ListItem>
                    <asp:ListItem Value="2">二分厂</asp:ListItem>
                    <asp:ListItem Value="5">五分厂</asp:ListItem>
                </asp:DropDownList> 
        原料供货：<asp:DropDownList ID="GongHuo" runat="server" 
            DataSourceID="SqlDataSource2" DataTextField="名称" DataValueField="ID" 
            Width="120px">
        </asp:DropDownList>
        <br />

        日　　期：<asp:TextBox ID="Date1" runat="server" CssClass="intxt1" Width="120px"></asp:TextBox><img alt="" src="/Icons/29.png" align="middle" onclick="makecalendar(document.getElementById('Date1').value, document.getElementById('Date1'));" />
        　至　<asp:TextBox ID="Date2" runat="server" CssClass="intxt1" Width="120px"></asp:TextBox><img alt="" src="/Icons/29.png" align="middle" onclick="makecalendar(document.getElementById('Date2').value, document.getElementById('Date2'));" />
        
       
        <asp:Button ID="Button_Query" runat="server" Text="统 计" CssClass="button" 
            UseSubmitBehavior="False" onclick="Button_Query_Click" />

        <asp:SqlDataSource ID="SqlDataSource2" runat="server" 
            ConnectionString="<%$ ConnectionStrings:SCMConnectionString1 %>" 
            SelectCommand="SELECT 0 as [ID], '全部' as [名称] UNION SELECT [ID], [名称] FROM [原料供货单位]"></asp:SqlDataSource>
    <asp:Panel ID="Panel2" runat="server" CssClass="panel">
        <asp:Label ID="Label_Result" runat="server" Text="请点击“统计”按钮进行统计" ForeColor="Red"></asp:Label>
    </asp:Panel>
        
    </asp:Panel>
    
    </form>

<script>

</script>
</body>
</html>
